package com.cw.jeeyt.service.intf.api;

import java.util.List;

import com.cw.jeeyt.common.Order;
import com.cw.jeeyt.service.bo.api.ApiTableAbbreviationBo;
import com.cw.lang.mybatis.dto.PageInfo;

/**
 * 数据库表缩写配置业务接口
 *
 * @author chenw
 * @date 2019-04-17 13:17:14
 */
public interface ApiTableAbbreviationService {
    /**
     * 查询所有数据库表缩写配置列表信息
     */
    List<ApiTableAbbreviationBo> queryApiTableAbbreviationList() throws Exception;

    /**
     * 删除数据库表缩写配置
     *
     * @param apiTableAbbreviationBo
     */
    void delete(ApiTableAbbreviationBo apiTableAbbreviationBo) throws Exception;

    /**
     * 更新数据库表缩写配置
     *
     * @param apiTableAbbreviationBo
     */
    void update(ApiTableAbbreviationBo apiTableAbbreviationBo) throws Exception;

    /**
     * 更新数据库表缩写配置不为空的字段
     *
     * @param apiTableAbbreviationBo
     */
    void updateSelective(ApiTableAbbreviationBo apiTableAbbreviationBo) throws Exception;

    /**
     * 根据主键查询数据库表缩写配置
     *
     * @return
     */
    ApiTableAbbreviationBo getApiTableAbbreviationById(Long id) throws Exception;

    /**
     * 新增数据库表缩写配置
     *
     * @param apiTableAbbreviationBo
     * @return
     */
    Integer insert(ApiTableAbbreviationBo apiTableAbbreviationBo) throws Exception;

    /**
     * 新增数据库表缩写配置不为空的字段
     *
     * @param apiTableAbbreviationBo
     * @return
     */
    Integer insertSelective(ApiTableAbbreviationBo apiTableAbbreviationBo) throws Exception;

    /**
     * 分页查询数据库表缩写配置
     *
     * @param apiTableAbbreviationBo
     * @param startNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    PageInfo<ApiTableAbbreviationBo> queryByPage(ApiTableAbbreviationBo apiTableAbbreviationBo, Integer startNum,
        Integer pageSize, Order order) throws Exception;
}
